<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Kittenblock test</title>
</head>
<body>

</body>
<script src="index.js"></script>
<!--script src="test/jquery.min.js"></script-->
<script>
    var kb;
    window.onload = function () {
        kb = new Kittenblock();
        console.log(kb);
        kb.updater.getServer(function(res){
            console.log(res);
        })
        kb.serial.enumSerial(function (devices) {
            console.log(devices);
        })
    };
</script>
<!--script src="src/ArduinoManager.js"></script-->
<!--script>
    var ar = new ArduinoInterface();
    ar.arduinopath = "D://arduino//";
    ar.checkArduinoPath(function (ret) {
        console.log("check arduino path ret "+ret);
    });
    /*
    ar.copyLibrary("./src",function (ret) {
        console.log("cp lib ret "+ret);
    });
    */
    /*
    code = "hello world";
    path = process.cwd()+"/test/test.ino";
    ar.openArduinoIde(code,path)
    */



</script-->
</html>
